package com.example.demotest.repository;

import com.example.demotest.pojo.Admin;
import com.example.demotest.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface AdminRepository extends JpaRepository<Admin, Integer> {
    Optional<Admin> findByAdminName(String AdminName);
}
